.class Lcom/example/m6wmr/SearchActivity$7$1;
.super Ljava/lang/Object;
.source "SearchActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6wmr/SearchActivity$7;->handleMessage(Landroid/os/Message;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Landroid/widget/AdapterView$OnItemClickListener;"
    }
.end annotation


# instance fields
.field final synthetic this$1:Lcom/example/m6wmr/SearchActivity$7;


# direct methods
.method constructor <init>(Lcom/example/m6wmr/SearchActivity$7;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    .line 252
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 6
    .param p2, "v"    # Landroid/view/View;
    .param p3, "arg2"    # I
    .param p4, "arg3"    # J
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .line 259
    .local p1, "arg0":Landroid/widget/AdapterView;, "Landroid/widget/AdapterView<*>;"
    invoke-static {}, Lmyapp/Util;->isFastDoubleClick()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 284
    :goto_0
    return-void

    .line 262
    :cond_0
    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    .line 263
    .local v0, "intent":Landroid/content/Intent;
    const-string v4, "shopid"

    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity;->access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/ShopBean;

    .line 264
    invoke-virtual {v3}, Lbean/ShopBean;->getShopId()Ljava/lang/String;

    move-result-object v3

    .line 263
    invoke-virtual {v0, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 265
    const-string v4, "shopname"

    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity;->access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/ShopBean;

    invoke-virtual {v3}, Lbean/ShopBean;->getShopName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 267
    const-string v4, "shoptype"

    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity;->access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/ShopBean;

    invoke-virtual {v3}, Lbean/ShopBean;->getShoptype()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 268
    const-string v4, "xiuxi"

    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity;->access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/ShopBean;

    invoke-virtual {v3}, Lbean/ShopBean;->getOpenType()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v4, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 269
    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    .line 270
    const-string v4, "Appset"

    const/4 v5, 0x0

    .line 269
    invoke-virtual {v3, v4, v5}, Lcom/example/m6wmr/SearchActivity;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;

    move-result-object v1

    .line 272
    .local v1, "preferences":Landroid/content/SharedPreferences;
    const-string v3, "APPindex"

    const-string v4, "1"

    .line 271
    invoke-interface {v1, v3, v4}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 274
    .local v2, "showtype":Ljava/lang/String;
    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    # getter for: Lcom/example/m6wmr/SearchActivity;->shopls:Ljava/util/List;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity;->access$12(Lcom/example/m6wmr/SearchActivity;)Ljava/util/List;

    move-result-object v3

    invoke-interface {v3, p3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lbean/ShopBean;

    invoke-virtual {v3}, Lbean/ShopBean;->getShoptype()Ljava/lang/String;

    move-result-object v3

    const-string v4, "0"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    .line 276
    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    const-class v4, Lcom/example/m6wmr/ShopDishesActivity;

    invoke-virtual {v0, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 283
    :goto_1
    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    invoke-virtual {v3, v0}, Lcom/example/m6wmr/SearchActivity;->startActivity(Landroid/content/Intent;)V

    goto/16 :goto_0

    .line 279
    :cond_1
    iget-object v3, p0, Lcom/example/m6wmr/SearchActivity$7$1;->this$1:Lcom/example/m6wmr/SearchActivity$7;

    # getter for: Lcom/example/m6wmr/SearchActivity$7;->this$0:Lcom/example/m6wmr/SearchActivity;
    invoke-static {v3}, Lcom/example/m6wmr/SearchActivity$7;->access$0(Lcom/example/m6wmr/SearchActivity$7;)Lcom/example/m6wmr/SearchActivity;

    move-result-object v3

    const-class v4, Lcom/example/m6wmr/ShopMarketDishesActivity;

    invoke-virtual {v0, v3, v4}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    goto :goto_1
.end method
